package test
object ListDemo {
  def main(args: Array[String]): Unit = {
    var list=List(1,2,3,4)
    println(list)
    //list(1)=100

    println("修改后:")
    println(list)
    var l2=list.drop(1)
    println("删除后")
    println(l2)
  }
}
